/**
 * Created by Administrator on 2017/3/10.
 */
var Breadcrumb = require("../../../src/libs/breadcrumb");

var Root = React.createClass({
    render:function(){
        return(
            <div>
                <h2>面包屑 Breadcrumb Breadcrumb.Item</h2>
                <Breadcrumb	separator='>' >
                    <Breadcrumb.Item href="baidu.com">首页</Breadcrumb.Item>
                    <Breadcrumb.Item href="baidu.com"><span><i className="iconfont"></i> 我的账户</span></Breadcrumb.Item>
                    <Breadcrumb.Item href="baidu.com">个人信息</Breadcrumb.Item>
                </Breadcrumb>
                <Breadcrumb	separator='—' >
                    <Breadcrumb.Item>首页</Breadcrumb.Item>
                    <Breadcrumb.Item href="baidu.com">我的账户</Breadcrumb.Item>
                    <Breadcrumb.Item href="baidu.com">个人信息</Breadcrumb.Item>
                </Breadcrumb>
            </div>
        )
    }
});
ReactDOM.render(<Root/>, document.getElementById('main'));